snapcast: fix PulseAudio
authorSzabolcs Hubai <[email protected]>
Sat, 13 Sep 2025 21:47:52 +0000 (23:47 +0200)
committerRobert Marko <[email protected]>
Sun, 14 Sep 2025 09:51:09 +0000 (11:51 +0200)
While testing my integration of Snapcast, I didn't test with CONFIG_ALL*
and CONFIG_BUILDBOT flags, but the buildbots did and failed with a lot
of undefined reference to PulseAudio.

Fix it with preventing PulseAudio detection.
While at it, prevent Avahi detection too to save more flash space.

These features will be available later, through flavours.

Fixes: https://github.com/openwrt/packages/pull/23956
Fixes: eeb8d131fc93 ("snapcast: add package snapserver and snapclient")
Signed-off-by: Szabolcs Hubai <[email protected]>
sound/snapcast/Makefile

index 354492e181612aaecf4ec198f3aae384a8d0b000..32a9c079056cdc355f11ba888ea4c561c6df59af 100644 (file)
@@ -20,6 +20,8 @@ include $(INCLUDE_DIR)/package.mk
 include $(INCLUDE_DIR)/cmake.mk
 
 CMAKE_OPTIONS += -DBUILD_TESTS=OFF
+CMAKE_OPTIONS += -DBUILD_WITH_PULSE=OFF
+CMAKE_OPTIONS += -DBUILD_WITH_AVAHI=OFF
 
 define Package/snapcast/Default
   SECTION:=sound